// 数组类型的定义

const numArray: number[] = []
const strArray: string[] = []
const undefindeArray: undefined[] = []
const numStrArray: (number | string)[] = []

// 类型别名 type alias
type Lady = { name: string, age: number }
const xjjArray: Lady[] = [
  { name: 'xdj', age: 15 }, { name: 'xxj', age: 15 }, { name: 'xzj', age: 15 }
]